package com.ruoyi.wuchuan.service;

import com.ruoyi.wuchuan.domain.ResultData;
import com.ruoyi.wuchuan.domain.WorkTask;

import java.util.List;

public interface HomeworkTaskService {

    /**
     * 添加作业任务
     * @param workTask
     * @return
     */
    ResultData addWorkTask(WorkTask workTask);

    /**
     * 删除作业任务
     * @param workTask
     * @return
     */
   Boolean delWorkTask(WorkTask workTask);

    /**
     * 修改作业任务
     * @param workTask
     * @return
     */
   Boolean editWorkTask(WorkTask workTask);

    /**
     * 根据名称模糊查询作业任务
     * @param workTask
     * @return
     */
   List<WorkTask> queryWorkTaskByName(WorkTask workTask);
}
